package study07;

class Student{
    int age;
    public Student(int a){
        age = a;
    }
    void display(){
        System.out.println("阿静的年龄属性值为：" + age);
    }
}


/**
* @author GZQ
* @Date 2023/12/7
 */
public class Example04 {
    public static void main(String[] args) {
        Student s = new Student(20);
        s.display();
    }
}
